package com.mes.pojo.md;

/**
 * @Author hitsune
 * @Company kafu chino
 * @Description
 * @Time 2024/10/18 16:54
 */

public class Unit {
    private Long unitId;
    private String unitCode;
    private String unitName;
    private Integer isMainUnit;
    private Integer proportionWithMain;
    private Integer enableFlag;
    private String unitRemark;
    private Long parentUnitId;
    private String parentUnitName;

    private Integer unitStatus;

    @Override
    public String toString() {
        return "Unit{" +
                "unitId=" + unitId +
                ", unitCode='" + unitCode + '\'' +
                ", unitName='" + unitName + '\'' +
                ", isMainUnit=" + isMainUnit +
                ", proportionWithMain=" + proportionWithMain +
                ", enableFlag=" + enableFlag +
                ", unitRemark='" + unitRemark + '\'' +
                ", parentUnitId=" + parentUnitId +
                ", parentUnitName='" + parentUnitName + '\'' +
                ", unitStatus=" + unitStatus +
                '}';
    }

    public Integer getUnitStatus() {
        return unitStatus;
    }

    public void setUnitStatus(Integer unitStatus) {
        this.unitStatus = unitStatus;
    }

    public Long getParentUnitId() {
        return parentUnitId;
    }

    public void setParentUnitId(Long parentUnitId) {
        this.parentUnitId = parentUnitId;
    }

    public String getParentUnitName() {
        return parentUnitName;
    }

    public void setParentUnitName(String parentUnitName) {
        this.parentUnitName = parentUnitName;
    }

    public Long getUnitId() {
        return unitId;
    }

    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

    public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public Integer getIsMainUnit() {
        return isMainUnit;
    }

    public void setIsMainUnit(Integer isMainUnit) {
        this.isMainUnit = isMainUnit;
    }

    public Integer getProportionWithMain() {
        return proportionWithMain;
    }

    public void setProportionWithMain(Integer proportionWithMain) {
        this.proportionWithMain = proportionWithMain;
    }

    public Integer getEnableFlag() {
        return enableFlag;
    }

    public void setEnableFlag(Integer enableFlag) {
        this.enableFlag = enableFlag;
    }

    public String getUnitRemark() {
        return unitRemark;
    }

    public void setUnitRemark(String unitRemark) {
        this.unitRemark = unitRemark;
    }
}
